import 'package:flutter/cupertino.dart';
import 'package:pui_flutter/src/components/button/pui_normal_button.dart';

const List<Color> _defaultBgGradientColor = [
  Color(0xFFFF8124),
  Color(0xFFFF682F),
];

const double _defaultWidth = double.infinity;
const double _defaultHeight = 44;
const BorderRadius _defaultBorderRadius = BorderRadius.all(Radius.circular(24));

class PPBigPrimaryButton extends PPNormalButton {
  PPBigPrimaryButton({
    required super.text,
    super.isEnabled,
    super.onTap,
    super.width = _defaultWidth,
    super.height = _defaultHeight,
    super.textColor,
    super.fontSize,
    super.disabledTextColor,
    super.color,
    super.gradientColor = _defaultBgGradientColor,
    super.disabledColor,
    super.disabledAlpha,
    super.padding,
    super.margin,
    super.fontWeight,
    super.textStyle,
    super.decoration,
    super.child,
    super.constraints,
    super.alignment,
    super.borderRadius = _defaultBorderRadius,
  });
}
